import Grid from "@material-ui/core/Grid";
import * as React from "react";

export const DepartInfo = ({itemClick, data}: any) => {
    return <Grid item={true} xs={12} onClick={itemClick}>
        {data.name}
    </Grid>;
};

export default DepartInfo;